
export const componentList = [
    {
        title:'',
        subTitle:'',
        showSubTitle:'N',
        keyword:'',
        inStore:'N',
        field:'',
        type:'input',
        typeName:'单行文本题',
        options:[],
         tag:'',
        score:0, // 该题分数
        isRequired:'Y',
        isSubjective:'Y',
        answer:"",
        needValid:'N',
        validateArr:[],
        attribute:{
            maxLength: 50,
            minLength: 0,
            placeholder: "请输入",
            clearable:true,
        }
    },
    {
        title:'',
        subTitle:'',
        showSubTitle:'N',
        keyword:'',
        inStore:'N',
        field:'',
        type:'input-password',
        typeName:'密码输入题',
        options:[],
         tag:'',
        score:0, // 该题分数
        isRequired:'Y',
        isSubjective:'Y',
        answer:"",
        needValid:'N',
        validateArr:[],
        attribute:{
            showPassword:true,
            maxLength: 50,
            minLength: 0,
            placeholder: "请输入内容",
            clearable:true,
        }
    },
    {
        title:'',
        subTitle:'',
        showSubTitle:'N',
        keyword:'',
        inStore:'N',
        field:'',
        type:'textarea',
        typeName:'多行文本题',
        options:[],
         tag:'',
        score:0, // 该题分数
        isRequired:'Y',
        isSubjective:'Y',
        answer:"",
        needValid:'N',
        validateArr:[],
        attribute:{
            maxLength: 500,
            minLength: 0,
            rows:3,
            showWordLimit:true,
            placeholder: "请输入内容",
            clearable:true,
        }
    },
    {
        title:'',
        subTitle:'',
        showSubTitle:'N',
        keyword:'',
        inStore:'N',
        field:'',
        type:'single-check',
        typeName:'单选题',
        options:[],
        tag:'',
        score:0, // 该题分数
        isRequired:'Y',
        isSubjective:'Y',
        answer:"",
        needValid:'N',
        validateArr:[],
        attribute:{
            showType:'radio'
        }
    },
    {
        title:'',
        subTitle:'',
        showSubTitle:'N',
        keyword:'',
        inStore:'N',
        field:'',
        type:'multiple-check',
        typeName:'多选题',
        options:[],
         tag:'',
               score:0, // 该题分数
        isRequired:'Y',
        isSubjective:'Y',
        answer:[],
        needValid:'N',
        validateArr:[],
        attribute:{
            showType:'checkbox'
        }
    },
    {
        title:'',
        subTitle:'',
        showSubTitle:'N',
        keyword:'',
        inStore:'N',
        field:'',
        type:'input-number',
        typeName:'数字题',
        options:[],
         tag:'',
        score:0, // 该题分数
        isRequired:'Y',
        isSubjective:'Y',
        answer:"",
        needValid:'N',
        validateArr:[],
        attribute:{
            min:1,
            max:10000,
            step:1,
            stepStrictly:true,
            precision:0
        }
    },
    {
        title:'',
        subTitle:'',
        showSubTitle:'N',
        keyword:'',
        inStore:'N',
        field:'',
        type:'rate',
        typeName:'评分题',
        options:[],
         tag:'',
        score:0, // 该题分数
        isRequired:'Y',
        isSubjective:'Y',
        answer:"",
        needValid:'N',
        validateArr:[],
        attribute:{
            max:5,
            step:1,
            allowHalf:false,
            showScore:false,
        }
    },
    {
        title:'',
        subTitle:'',
        showSubTitle:'N',
        keyword:'',
        inStore:'N',
        field:'',
        type:'slider',
        typeName:'滑块题',
        options:[],
         tag:'',
        score:0, // 该题分数
        isRequired:'Y',
        isSubjective:'N',
        answer:"",
        needValid:'N',
        validateArr:[],
        attribute:{
            min:0,
            max:5,
            step:1,
            showInput:false,
        }
    },
    {
        title:'',
        subTitle:'',
        showSubTitle:'N',
        keyword:'',
        inStore:'N',
        field:'',
        type:'date',
        typeName:'日期题',
        options:[],
         tag:'',
        score:0, // 该题分数
        isRequired:'Y',
        isSubjective:'Y',
        answer:"",
        needValid:'N',
        validateArr:[],
        attribute:{
            type:"date",
            placeholder:'请选择日期',
            editable:false,
            clearable:true,
        }
    },
    {
        title:'',
        subTitle:'',
        showSubTitle:'N',
        keyword:'',
        inStore:'N',
        field:'',
        type:'datetime',
        typeName:'日期时间题',
        options:[],
         tag:'',
        score:0, // 该题分数
        isRequired:'Y',
        isSubjective:'Y',
        answer:"",
        needValid:'N',
        validateArr:[],
        attribute:{
            type:"datetime",
            placeholder:'请选择日期时间',
            editable:false,
            clearable:true,
        }
    },
    {
        title:'',
        subTitle:'',
        showSubTitle:'N',
        keyword:'',
        inStore:'N',
        field:'',
        type:'image-upload',
        typeName:'图片上传题',
        options:[],
         tag:'',
        score:0, // 该题分数
        isRequired:'Y',
        isSubjective:'Y',
        answer:"",
        needValid:'N',
        validateArr:[],
        attribute:{
            size:80,
            limit:1,
            fileSize:5,
            fileType:['png','jpg','jpeg'],
            isShowTip:true
        }
    },
    {
        title:'',
        subTitle:'',
        showSubTitle:'N',
        keyword:'',
        inStore:'N',
        field:'',
        type:'file-upload',
        typeName:'文件上传题',
        options:[],
         tag:'',
        score:0, // 该题分数
        isRequired:'Y',
        isSubjective:'Y',
        answer:"",
        needValid:'N',
        validateArr:[],
        attribute:{
            limit:1,
            fileSize:5,
            fileType:['doc','docx','xlsx','ppt','text'],
            isShowTip:true
        }
    },

]

//     <!--          <div >-->
// <!--            <div class="btn-item">-->
// <!--              多行文本题-->
// <!--            </div>-->
//
// <!--            <div class="btn-item">-->
// <!--              单选题-->
// <!--            </div>-->
// <!--            <div class="btn-item">-->
// <!--              多选题-->
// <!--            </div>-->
// <!--            <div class="btn-item">-->
// <!--              下拉题-->
// <!--            </div>-->
// <!--            <div class="btn-item">-->
// <!--              数字题-->
// <!--            </div>-->
// <!--            <div class="btn-item">-->
// <!--              评分提-->
// <!--            </div>-->
// <!--            <div class="btn-item">-->
// <!--              滑块题-->
// <!--            </div>-->
// <!--            <div class="btn-item">-->
// <!--              日期题-->
// <!--            </div>-->
// <!--            <div class="btn-item">-->
// <!--              时间题-->
// <!--            </div>-->
// <!--            <div class="btn-item">-->
// <!--              城市题-->
// <!--            </div>-->
// <!--            <div class="btn-item">-->
// <!--              文件题-->
// <!--            </div>-->
// <!--          </div>-->
